package de.baumann.browser.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import de.baumann.browser.R;
import de.baumann.browser.api.net.vo.NodeProgress;

public class NodeProgressAdapter extends BaseQuickAdapter<NodeProgress, BaseViewHolder> {

    public NodeProgressAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, NodeProgress item) {
        helper.setText(R.id.tvProgressTitle,item.getTitle());
        helper.setText(R.id.tvProgressStatus,item.getApplyStatus());
        helper.setText(R.id.tvProgressTime,item.getApplicationTime());
    }
}
